package org.hnsd.train.design.lsp;

import java.util.HashMap;

/**
 * @author youqd
 * @tag.date 2023-10-25 15:12
 **/
public class Client {
    public static void invoker(){
        //父类存在的地方，子类就应该能够存在
//        Father obj = new Father();

        Son obj = new Son();
        HashMap map = new HashMap();
        obj.doSomething(map);
    }
    public static void main(String[] args) {
        invoker();
    }
}